package com.woniu.microcommunityserver.tribal.service;

import com.woniu.microcommunityserver.tribal.entity.InterestTribalInfoEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface InterestTribalInfoService {
    List<InterestTribalInfoEntity> findAll();

    List<InterestTribalInfoEntity> findAny(Map<String,Object> map);

    boolean insertInterest(@Param("i") InterestTribalInfoEntity interestTribalInfoEntity);

    boolean update(InterestTribalInfoEntity interestTribalInfoEntity);

    boolean updateState(Integer tribalState,Long id);
}
